package com.ruoyi.project.qyxy.quadtl.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 企业资质得分记录对象 qyxy_qua_socre_detail
 * 
 * @author lcl
 * @date 2021-03-05
 */
public class QuaSocreDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 得分明细ID */
    @Excel(name = "得分明细ID")
    private String detailId;

    /** 企业组织机构代码 */
    @Excel(name = "企业组织机构代码")
    private String orgCode;

    /** 资质证书名称 */
    @Excel(name = "资质证书名称")
    private String quaType;

    /** 资质名称 */
    @Excel(name = "资质名称")
    private String quaName;

    /** 资质等级 */
    @Excel(name = "资质等级")
    private String quaRank;

    /** 资质证书编号 */
    @Excel(name = "资质证书编号")
    private String quaNum;

    /** 是否主项资质 */
    @Excel(name = "是否主项资质")
    private Long isMainQua;

    /** 资质审批机关 */
    @Excel(name = "资质审批机关")
    private String approveBy;

    /** 资质批准日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "资质批准日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dtApprove;

    /** 资质有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "资质有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dtExpire;

    /** 资质证书名称ID */
    @Excel(name = "资质证书名称ID")
    private Long quaCode;

    public void setDetailId(String detailId) 
    {
        this.detailId = detailId;
    }

    public String getDetailId() 
    {
        return detailId;
    }
    public void setOrgCode(String orgCode) 
    {
        this.orgCode = orgCode;
    }

    public String getOrgCode() 
    {
        return orgCode;
    }
    public void setQuaType(String quaType) 
    {
        this.quaType = quaType;
    }

    public String getQuaType() 
    {
        return quaType;
    }
    public void setQuaName(String quaName) 
    {
        this.quaName = quaName;
    }

    public String getQuaName() 
    {
        return quaName;
    }
    public void setQuaRank(String quaRank) 
    {
        this.quaRank = quaRank;
    }

    public String getQuaRank() 
    {
        return quaRank;
    }
    public void setQuaNum(String quaNum) 
    {
        this.quaNum = quaNum;
    }

    public String getQuaNum() 
    {
        return quaNum;
    }
    public void setIsMainQua(Long isMainQua) 
    {
        this.isMainQua = isMainQua;
    }

    public Long getIsMainQua() 
    {
        return isMainQua;
    }
    public void setApproveBy(String approveBy) 
    {
        this.approveBy = approveBy;
    }

    public String getApproveBy() 
    {
        return approveBy;
    }
    public void setDtApprove(Date dtApprove) 
    {
        this.dtApprove = dtApprove;
    }

    public Date getDtApprove() 
    {
        return dtApprove;
    }
    public void setDtExpire(Date dtExpire) 
    {
        this.dtExpire = dtExpire;
    }

    public Date getDtExpire() 
    {
        return dtExpire;
    }
    public void setQuaCode(Long quaCode) 
    {
        this.quaCode = quaCode;
    }

    public Long getQuaCode() 
    {
        return quaCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("detailId", getDetailId())
            .append("orgCode", getOrgCode())
            .append("quaType", getQuaType())
            .append("quaName", getQuaName())
            .append("quaRank", getQuaRank())
            .append("quaNum", getQuaNum())
            .append("isMainQua", getIsMainQua())
            .append("approveBy", getApproveBy())
            .append("dtApprove", getDtApprove())
            .append("dtExpire", getDtExpire())
            .append("quaCode", getQuaCode())
            .toString();
    }
}
